package com.example.mybatis.demo.model;

import lombok.Data;

import java.util.Date;

@Data
public class ArticleInfo {
    /*
    id INT PRIMARY KEY auto_increment,
    title VARCHAR ( 100 ) NOT NULL,
    content TEXT NOT NULL,
    uid INT NOT NULL,
    delete_flag TINYINT ( 4 ) DEFAULT 0 COMMENT '0-正常, 1-删除',
    create_time DATETIME DEFAULT now(),
    update_time DATETIME DEFAULT now()
     */

    private Integer id;
    private Integer uid;
    private Integer gender;
    private String title;
    private String username;
    private String password;
    private String content;
    private Integer deleteFlag;
//    private Date createTime;
    private Date time1;
    private Date time2;
    private Date updateTime;
}
